/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

import java.sql.Connection;


public abstract class AbstractDAO<T> {
    
    protected Connection connect;
    
    public AbstractDAO(Connection connect)
    {
        this.connect = connect;
    }
    
    protected abstract boolean insert(T obj);
    
    protected abstract boolean update(T obj);
    
    protected abstract boolean delete(T obj);
    
    protected abstract T findById(int id);
    
}
